<template>
	<text :class="['iconfont','ff-icon','ff-icon-'+name]" :style="{'font-size':size+'px', 'color': color}"></text>
</template>

<script>
	export default {
		name: "ff-icon",
		components: {},
		props: {
			name: {
				type: String,
				default: ''
			},
			size: {
				default: 28
			},
			color: {
				type: String,
				default: '#606266'
			},
		},
		data() {
			return {

			};
		},
		mounted() {

		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	@import url('//at.alicdn.com/t/c/font_4539014_lyxz99rvd3e.css');
</style>